<?php 
echo $this->form;


$ths = array('Site','Titre','Description','langue','créé le','créé par','--');
$trs = array();


$regions=array();
foreach($this->regions as $region) {
	$editUrl = '<a href="'.
				$this->url(array('module'=>'admin','controller'=>'system-regions','action'=>'edite-website','regionname'=>$region['name'])).'">'.
				$this->translate("edite").'</a>';
	$deleteUrl =  '<a href="'.
				$this->url(array('module'=>'admin','controller'=>'system-regions','action'=>'delete-website','regionname'=>$region['name'])).'">'.
				$this->translate("delete").'</a>';
	$region['urlAction']=$editUrl.' - '.$deleteUrl;
	$date = new Zend_Date($region['created']);
	
	$region['created'] = $date;
	unset($region['template']);
	unset($region['layout']);
	unset($region['skin']);
	$regions[] = $region;
}


echo $this->wmpTableSorter($ths,$regions);

?>